package Test12;
//创建类
public class Test12{
    //创建成员变量
    public String name;
    public double about;
    public int wish;
    public char doll;
    public boolean take;
    //成员方法
    public void cute() {
        System.out.println("你好呀，我是一个成员方法");
        System.out.println("很高兴能够见到你，欢迎来到类和对象的世界");
    }
    //成员方法
    public void taxi() {
        System.out.println(name + " 真不错");

    }
    //成员方法
    public void night() {

    }
    //成员方法
    public void after(){

    }
    //成员方法
    public void an() {

    }
    //成员方法
    public void football() {
    }
     public static void main(String[] args) {
        Test12 test12 = new Test12();
        test12.cute();
        test12.name = "小尘";
        test12.taxi();
        test12.about = 222;
        test12.doll = '嗨';
        System.out.println(test12.about);
        System.out.println(test12.name);
        System.out.println(test12.doll);
        System.out.println("--------------------------");
         Test12 test13 = new Test12();
         test13.name = "小季";
         test13.taxi();
         test13.about = 222;
         test13.doll = '嗨';
         System.out.println(test13.about);
         System.out.println(test13.name);
         System.out.println(test13.doll);

    }
}
